package cn.itsource.ymcc.service;

import cn.itsource.ymcc.domain.Course;
import cn.itsource.ymcc.result.JsonResult;
import cn.itsource.ymcc.vo.CourseVo;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zongcj
 * @since 2023-09-14
 */
public interface ICourseService extends IService<Course> {
    void addCourse(CourseVo course, JSONObject user);

    JsonResult getCourseAllInfo(Long id);

    JsonResult onLineCourse(List<Long> ids);

    JsonResult getCourseDetailData(Long courseId);
}
